projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abe18f5
)
Fig grammar of count-lines-page
author
Paul Eggert
<eggert@Penguin.CS.UCLA.EDU>
Sun, 9 Jun 2019 23:59:43 +0000
(16:59 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 10 Jun 2019 00:00:05 +0000
(17:00 -0700)
* lisp/textmodes/page.el (count-lines-page):
Say "Page has 1 line", not "Page has 1 lines" (Bug#35981).
lisp/textmodes/page.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/page.el
b/lisp/textmodes/page.el
index 2b0cea4c643e3b5fc1c355eb2532762f93363098..8921b697f3be6d725ff564ceb101ca31b2609c14 100644
(file)
--- a/
lisp/textmodes/page.el
+++ b/
lisp/textmodes/page.el
@@
-141,7
+141,9
@@
thus showing a page other than the one point was originally in."
(setq total (count-lines beg end)
before (count-lines beg opoint)
after (count-lines opoint end))
- (message "Page has %d lines (%d + %d)" total before after))))
+ (message (ngettext "Page has %d line (%d + %d)"
+ "Page has %d lines (%d + %d)" total)
+ total before after))))
(defun what-page ()
"Print page and line number of point."